package cn.matezk.lianlian.service;

import cn.matezk.lianlian.model.Device;
import cn.matezk.lianlian.model.UserDevice;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;
import com.tencentcloudapi.iotexplorer.v20190423.models.DeviceUser;

public interface IMiniAppService {
    String aliasName(String productId, String deviceName);
    void updateDevice(Device device);
    void bindDevice(UserDevice userDevice);
    void unbindDevice(UserDevice userDevice);
    void joinFamily(String familyId, String userId);
    void removeFamily(String familyId, String userId);
    void transferFamily(String familyId, String fromUserId, String toUserId);
    DeviceUser[] deviceUser(String productId, String deviceName) throws TencentCloudSDKException;
}
